home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-07 / settings.txt < prev    next >
Text File  |  1991-08-27  |  8KB  |  154 lines

  1. TECHNICAL BULLETIN                                  LANAI/SETTINGS
  2. LANtastic AI                                              08.05.91
  3. LANtastic AI and setting IRQ, IOBASE and RAMBASE      Page 1  of 3
  4.  
  5. This bulletin should replace all other notes generated from this
  6. office to date. 
  7.  
  8. The following information is based on in-house testing and customer
  9. support of LANtastic AI.  If you are not a registered LANtastic
  10. owner, your questions should be directed to our technical sales
  11. staff at (602) 293-6363.  Any questions or comments on this
  12. bulletin may be forwarded by FAX (602) 293-8065 or mailed to :
  13. Artisoft Inc., 575 East River Road, Tucson, AZ., 85704, ATTN:
  14. LANtastic AI Support.
  15.  
  16.  RUNNING LANTASTIC AI AND SELECTING UNIQUE IRQ, IOBASE AND RAMBASE
  17. SETTINGS
  18.  
  19.          There are three things that have to be uniquely selected
  20. for the adapter to use, to let it co-exist with the other
  21. components in the computer: the IRQ (Interrupt ReQuest line), the
  22. IOBASE (beginning I/O port address), and the RAMBASE (the starting
  23. address of high memory usage). If any other component is using the
  24. same setting for any one of these parameters, this is what is
  25. called a conflict. It is imperative that you avoid conflicts with
  26. any of these three parameters. The signs of a conflict are:
  27.  
  28.          a) The device driver (i.e. WD8003 or NEX000) will lockup 
  29.             the computer.
  30.  
  31.          b) The device driver will return an error message telling 
  32.             you that there is a conflict with a certain parameter.
  33.  
  34.          c) Even if neither of the above occur, there may still be
  35.             an error at the time of logging in: "Cannot Locate      
  36.             Network Name", which would be returned after ESCaping 
  37.             out of the "Waiting for server to come on-line"       
  38.             message.
  39.  
  40.          d) There would be some sort of problem in using the      
  41.             network for larger amounts of traffic: Executing      
  42.             a program from the server, or COPYing large amounts of 
  43.             files. It could give an error or just lock up the     
  44.             computer with a bleeping noise. (It's a dual tone     
  45.             'bleep', with the low tone first, and the high tone   
  46.             second, almost as if it were asking a question.)
  47.  
  48.          The IRQ is how the network adapter can get in touch with
  49. the computer's CPU. It is akin to tapping the CPU on it's shoulder.
  50. Thus the name: Interrupt ReQuest line. The CPU then pays attention
  51. to the interruption. It will 'branch' to a section of code that has
  52. the instructions for what to do when it is interrupted on a certain
  53. IRQ line.
  54.  
  55.          If there is any other use of the same IRQ by a different
  56. component in the computer, the instructions will not be
  57. appropriate, the CPU will get confused, and will simply be unable
  58. to do anything. Thus the 'lockup'.
  59.  
  60.          The IOBASE is the beginning address of which I/O port to
  61. use. It can be thought of as a tunnel between the network adapter
  62. and the CPU through which information flows. The only way for
  63. external events (things happening on the bus) to be brought into
  64. the computer is through I/O ports. 
  65.  
  66.          So, if there is any other use of that tunnel by a
  67. different component, the CPU would get confused, and would most
  68. likely 'lockup' the computer. An IOBASE conflict can also show
  69. itself at the time of running the device driver. It could return an
  70. error saying that the adapter cannot be found.
  71.  
  72.          The RAMBASE is a bit more involved. DOS can formulate
  73. addresses for RAM from 0-1 Megabyte (1Mb). There is a special range
  74. of addresses that do not have any physical RAM associated with
  75. them. This range of addresses extends from 640K to 1Mb. These are
  76. hexadecimal numbers, and will thus have letters in  the CPU has to
  77. know how to get to the information; it has to know how to address
  78. the information. Thus, a contiguous section of these unused
  79. addresses in the high memory area can be mapped to the onboard RAM
  80. so that the CPU can get access to the information. This is the
  81. RAMBASE setting.
  82.  
  83.          While IRQ and IOBASE conflicts most often result in a
  84. 'lockup', a RAMBASE conflict could also show itself as a disconnect
  85. during increased use of the adapter; as the memory locations are
  86. filled up by larger and heavier amounts of network traffic. If the
  87. conflict were with the video adapter, you could see some sort of
  88. screen corruption: 'garbage' characters, or funny colors, or a lock
  89. up when the screen changes.
  90.  
  91.          There are several different components in the computer
  92. that use high memory. The largest user of high memory is the video
  93. adapter (VGA, EGA, and Hercules). The actual addresses used vary
  94. greatly from video standard to video standard, manufacturer to
  95. manufacturer, and from one mode of programming of the video adapter
  96. to another: i.e. text vs graphics mode. It is important to identify
  97. the range used by your video adapter by consulting the
  98. documentation that came with it, talking to your vendor, or calling
  99. the manufacturer. The hard disk controller also uses high memory to
  100. map to it's onboard ROM chip, wherein the instructions for it's use
  101. are kept. If any of you have done a low level format of a hard
  102. drive, and have used DEBUG to issue the command "g=c800:5", you are
  103. telling DEBUG to go to the address location C800, offset 5, and
  104. execute the code contained there.
  105.  
  106.          The computer itself uses the F000-FFFF range for it's
  107. system BIOS. That is, the addresses F000-FFFF are mapped to the
  108. mother board's ROM chip. Quite often, 386 machines have a 'shadow
  109. ram' option in the CMOS setup in the E000-EFFF range. This is where
  110. information from the video adapter's relatively slow ROM chip is
  111. read into the faster motherboard RAM (RAM that is beyond 1Mb), and
  112. then has the E000 range of addresses mapped to it. This provides
  113. faster video response.
  114.  
  115.          There can be software-based usage of high memory, too.
  116. Programs like QEMM or 386-to-the-MAX will use high memory for
  117. Expanded Memory Specification (EMS) memory or to load network
  118. software or other programs into that high memory addressing range.
  119. IBM/MS-DOS 5.0 also allows the use of high memory (Upper Memory
  120. Blocks, according to Microsoft) to load DOS or other programs high.
  121. If any of these products are involved, you will want to deactivate
  122. them, temporarily, just to see what is actually going on. It is
  123. always prudent to strip the machine in hardware (taking out
  124. non-essential adapters), and software (REName the CONFIG.SYS and
  125. AUTOEXEC.BAT files and reboot), to see if any of the things you
  126. have taken out were involved in the problem. If the problem goes
  127. away after doing these things, then you would want to build up the
  128. complexity of the system, one step at a time, until you find out
  129. what step re-introduces the problem.
  130.  
  131.          There are two approaches to finding available IRQ, IOBASE
  132. and RAMBASE setting for the network adapter to use. Either:
  133.  
  134.          a) identify all the components in the computer, and the  
  135.             IRQ, IOBASE and RAMBASE that they use, to assign      
  136.             something else to the network adapter.
  137.  
  138.                                    OR
  139.  
  140.          b) systematically cycle through the available IRQ, IOBASE 
  141.             and RAMBASE options, until you stumble upon an        
  142.             available combination. It is important to have the    
  143.             systematic approach, so that you do not create a second 
  144.             conflict, alleviate the first one, and still be saddled 
  145.             with the second one.
  146.  
  147.           The selection of IRQ, IOBASE and RAMBASE invariably is a
  148. two step process:
  149.  
  150.             1) Tell the adapter what combination you want.
  151.  
  152.             2) Tell the software (device driver) what combination 
  153.                you want to use. 
  154.